/*
	Created: Jonathan Turner
		On : 10/18/2013
Description: Gets document from ID.
	Updates:
*/
ALTER PROCEDURE daycare.GetDocument @DocumentId INT
AS 
  SELECT  doc.DocumentId
        , doc.DocumentName
        , doc.FileName
        , doc.DocumentTypeId
        , doc.ExpirationDate
  FROM    daycare.Documents AS doc
  WHERE   doc.DocumentId = @DocumentId
GO